﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common.Master" AutoEventWireup="true" CodeBehind="AudioArchiveFlowList.aspx.cs" Inherits="Web.Views.ArchiveFlowView.AudioArchiveFlowList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
    <script type="text/javascript" src="../../Javascript/UserControls.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#btn_AddArchive").click(function () {
                //                openWindow("新增卷", "ArchiveEdit.aspx", "800", "600");
                var typeId = $("#ctl00_ContentPlaceHolder1_archiveTypeId").val();
                window.location = "ArchiveEdit.aspx?archiveType=" + typeId;
            });
        });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        <div class="toolbar2">
        <button type="button" class="sexybutton" id="btnGenerateArchiveCode" runat="server"  onserverclick="btnGenerateArchiveCode_Click">
            <span><span><span class="disk">生成档号</span></span></span></button>
        <button type="button" class="sexybutton" id="btnVerify" runat="server"  onserverclick="btnVerify_Click">
            <span><span><span class="disk">审核通过</span></span></span></button>
            <button type="button" class="sexybutton" id="btnBack" runat="server"  onserverclick="btnBack_Click">
            <span><span><span class="cancel">退回</span></span></span></button>
    </div>
    <div id="tt" class="easyui-tabs" border="false">

        <div title="待办结条目-未生成档号">
            <div style="overflow: hidden;">
                <h3>
                    待办结条目-未生成档号</h3>
                <ep:EPGridView ID="gvDocumentUndoWithNoArchiveNum" DataKeyNames="DataID"  runat="server" Width="100%" OnRowDataBound="gvUnTransfered_RowDataBound"
                    ShowCheckBox="true" OnRowEditing="gvUnTransfered_RowEditing"
                    OnRowDeleting="gvUnTransfered_RowDeleting" >
                    <Columns>
                        <asp:CommandField ButtonType="Button" ControlStyle-CssClass="btn" EditText="编辑" DeleteText="删除"
                            ShowEditButton="true" ShowDeleteButton="true" HeaderText="操作" HeaderStyle-Width="10%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="档号" DataField="ARCHIVENUM" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="提交人" DataField="CREATEUSERID" HeaderStyle-Width="10%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="题名" DataField="TITLE" HeaderStyle-Width="18%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="责任者" DataField="PUBLISHER" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="文件日期" DataField="PUBLISHTIME" DataFormatString="{0:yyyy-MM-dd}"
                            HtmlEncode="false" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="密级" DataField="F_SECURITYTYPE" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="副本数量" DataField="MAINBODYNUM" HeaderStyle-Width="10%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="文件编号" DataField="FILENUM" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
                    </Columns>
                </ep:EPGridView>
                <ep:AspNetPager SubmitButtonText=" GO " ID="pagerUndoWithNoArchiveNum" Height="26px"    Width="100%" CssClass="yahoo2" runat="server"
                    PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right" CustomInfoClass="custom"
                    CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always" SubmitButtonImageUrl="../Images/go.png"
                    ShowPageIndex="true" PageIndexBoxType="TextBox" CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                     AlwaysShow="false">
                </ep:AspNetPager>
            </div>
        </div>

        <div title="待办结条目-已生成档号">
            <div style="overflow: hidden;">
                <h3>
                    待办结条目-已生成档号</h3>
                <ep:EPGridView ID="gvDocumentUndo" DataKeyNames="DataID"  runat="server" Width="100%" OnRowDataBound="gvUnTransfered_RowDataBound"
                    ShowCheckBox="true" OnRowEditing="gvUnTransfered_RowEditing"
                    OnRowDeleting="gvUnTransfered_RowDeleting" >
                    <Columns>
                        <asp:CommandField ButtonType="Button" ControlStyle-CssClass="btn" EditText="编辑" DeleteText="删除"
                            ShowEditButton="true" ShowDeleteButton="true" HeaderText="操作" HeaderStyle-Width="10%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="档号" DataField="ARCHIVENUM" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="提交人" DataField="CREATEUSERID" HeaderStyle-Width="10%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="题名" DataField="TITLE" HeaderStyle-Width="18%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="责任者" DataField="PUBLISHER" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="文件日期" DataField="PUBLISHTIME" DataFormatString="{0:yyyy-MM-dd}"
                            HtmlEncode="false" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="密级" DataField="F_SECURITYTYPE" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="副本数量" DataField="MAINBODYNUM" HeaderStyle-Width="10%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="文件编号" DataField="FILENUM" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
                    </Columns>
                </ep:EPGridView>
                <ep:AspNetPager SubmitButtonText=" GO " ID="pagerUndo" Height="26px"    Width="100%" CssClass="yahoo2" runat="server"
                    PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right" CustomInfoClass="custom"
                    CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always" SubmitButtonImageUrl="../Images/go.png"
                    ShowPageIndex="true" PageIndexBoxType="TextBox" CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                     AlwaysShow="false">
                </ep:AspNetPager>
            </div>
        </div>
        <div title="已办结条目" style="overflow: visible;">
            <div style="overflow: hidden;">
                <h3>
                    已办结条目</h3>
                <ep:EPGridView ID="gvDocumentDone" DataKeyNames="DataID" runat="server"  Width="100%" OnRowDataBound="gvTransfered_RowDataBound">
                    <Columns>
                        <asp:BoundField HeaderText="临时序号" DataField="TEMPORDERNUM" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="提交人" DataField="CREATEUSERID" HeaderStyle-Width="10%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="题名" DataField="TITLE" HeaderStyle-Width="18%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="责任者" DataField="PUBLISHER" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="文件日期" DataField="PUBLISHTIME" DataFormatString="{0:yyyy-MM-dd}"
                            HtmlEncode="false" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="密级" DataField="F_SECURITYTYPE" HeaderStyle-Width="7%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="副本数量" DataField="MAINBODYNUM" HeaderStyle-Width="10%"
                            ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField HeaderText="文件编号" DataField="FILENUM" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
                    </Columns>
                </ep:EPGridView>
                <ep:AspNetPager SubmitButtonText=" GO " ID="pagerDone" Height="26px"    Width="100%" CssClass="yahoo2" runat="server"
                    PageSize="10" LayoutType="Table" ShowCustomInfoSection="Right" CustomInfoClass="custom"
                    CustomInfoStyle=" clear:both;" ShowPageIndexBox="Always" SubmitButtonImageUrl="../Images/go.png"
                    ShowPageIndex="true" PageIndexBoxType="TextBox" CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条"
                     AlwaysShow="false">
                </ep:AspNetPager>
            </div>
        </div>
    </div>
    <asp:HiddenField ID="hiddenSHTG" runat="server" Value="办结" />
    <asp:HiddenField ID="hiddenBack" runat="server" Value="办结审核退回" />
    <asp:HiddenField ID="hiddenStatusName" runat="server" Value="办结审核中" />
</asp:Content>
